package com.lh.pattern.singleton;

import com.lh.log.log4j.StaticLogOptimize;

public class TestEnumerateSingleTon {

	public static void main(String[] args) {
		HungrySingleton t1 = HungrySingleton.getInstance();
		HungrySingleton t2 = HungrySingleton.getInstance();
		if(t1==t2){
			StaticLogOptimize.debug("t1==t2");
		}else {
			StaticLogOptimize.debug("t1!=t2");
		}

	}

}
